from urllib.parse import urljoin
from common.config_parse import parse_ini

host = parse_ini('server').get('host')

class ServerUrl:
    login_url =  urljoin(host,'/creditplatformweb/login') #登录url

    #角色管理
    role_add_url = urljoin(host,'/creditplatformweb/roleManage/create') #添加角色的url
    role_del_url = urljoin(host,'/creditplatformweb/roleManage/delete') #删除角色的url
    role_update_url = urljoin(host,'/creditplatformweb/roleManage/update') #编辑角色的url
    role_getpage_url = urljoin(host,'/creditplatformweb/roleManage/getPage') #检索角色的url
    role_grantpower_url = urljoin(host,'/creditplatformweb/roleManage/grantPower') #角色关联菜单
    role_per_saveuserreason_url = urljoin(host,'/creditpersonqueryweb/common/saveUserReason') #个人监管权限
    role_ent_saveuserreason_url = urljoin(host,'/creditenterprisequeryweb/common/saveUserReason') #企业监管权限
    #机构
    org_create_url = urljoin(host, '/creditplatformweb/systemOrg/create')  # 新建机构

    #用户管理
    user_create_url = urljoin(host, '/creditplatformweb/systemUser/create')  # 新建用户
    user_per_userattr_url = urljoin(host, '/creditpersonqueryweb/userattr/create')  # 新建个人页签
    user_ent_userattr_url = urljoin(host, '/creditenterprisequeryweb/userattr/create')  # 新建企业页签
    user_changepasswordfirst_url = urljoin(host, '/creditplatformweb/changePasswordFirst')  # 首次修改密码
    user_changepassword_url = urljoin(host, '/creditplatformweb/changePassword')  # 修改密码页面
    user_changepasswordusername_url = urljoin(host, '/creditplatformweb/systemUser/changePasswordUserName')  # 获取用户名
    user_update_password_url = urljoin(host, '/creditplatformweb/systemUser/finalPassword')  # 修改密码
    user_update_url = urljoin(host, '/creditplatformweb/systemUser/update')  # 编辑用户
    user_perattr_update_url = urljoin(host, '/creditpersonqueryweb/userattr/update')  # 个人标签页信息编辑
    user_entattr_update_url = urljoin(host, '/creditenterprisequeryweb/userattr/update')  # 企业标签页信息编辑
    user_get_page_url = urljoin(host, '/creditplatformweb/systemUser/getPage')  # 用户检索
    user_del_url = urljoin(host, '/creditplatformweb/systemUser/delete')  # 用户删除


    # 个人业务参数
    per_business_params_detail_url = urljoin(host, '/creditpersonqueryweb/config/findById')  # 详情
    per_business_params_getpage_url = urljoin(host, '/creditpersonqueryweb/config/getPage')  # 检索
    per_business_params_update_url = urljoin(host, '/creditpersonqueryweb/config/update')  # 编辑

    # 企业业务参数
    ent_business_params_detail_url = urljoin(host, '/creditenterprisequeryweb/config/findById')  # 详情
    ent_business_params_getpage_url = urljoin(host, '/creditenterprisequeryweb/config/getPage')  # 检索
    ent_business_params_update_url = urljoin(host, '/creditenterprisequeryweb/config/update')  # 编辑

    #个人征信用户管理
    credit_per_user_create_url = urljoin(host,'/creditpersonqueryweb/creditUser/create') #征信用户添加的url
    credit_per_user_getpage_url = urljoin(host,'/creditpersonqueryweb/creditUser/getPage') #征信用户检索
    credit_per_user_del_url = urljoin(host,'/creditpersonqueryweb/creditUser/delete') #征信用户删除
    credit_per_detail_url = urljoin(host,'/creditpersonqueryweb/creditUser/findById') #征信用户详情
    credit_per_update_url = urljoin(host,'/creditpersonqueryweb/creditUser/update') #征信用户编辑


    # 企业征信用户管理
    credit_ent_user_create_url = urljoin(host,'/creditenterprisequeryweb/creditUser/create') #企业征信用户添加的url
    credit_ent_user_getpage_url = urljoin(host, '/creditenterprisequeryweb/creditUser/getPage')  # 征信用户检索
    credit_ent_user_del_url = urljoin(host, '/creditenterprisequeryweb/creditUser/delete')  # 征信用户删除
    credit_ent_detail_url = urljoin(host, '/creditenterprisequeryweb/creditUser/findById')  # 征信用户详情
    credit_ent_update_url = urljoin(host, '/creditenterprisequeryweb/creditUser/update')  # 征信用户编辑

    #个人查询原因
    per_queryreason_getpage_url = urljoin(host, '/creditpersonqueryweb/queryReason/getPage')  # 检索
    per_queryreason_stop_url = urljoin(host, '/creditpersonqueryweb/queryReason/stopDelegationPolicy')  # 停用
    per_queryreason_start_url = urljoin(host, '/creditpersonqueryweb/queryReason/startDelegationPolicy')  # 启用
    per_queryreason_level_url = urljoin(host, '/creditpersonqueryweb/queryReason/changeApprovalLevel')  # 修改审批级别

    #企业查询原因
    ent_queryreason_getpage_url = urljoin(host, '/creditenterprisequeryweb/queryReason/getPage')  # 检索
    ent_queryreason_stop_url = urljoin(host, '/creditenterprisequeryweb/queryReason/stopDelegationPolicy')  # 停用
    ent_queryreason_start_url = urljoin(host, '/creditenterprisequeryweb/queryReason/startDelegationPolicy')  # 启用
    ent_queryreason_level_url = urljoin(host, '/creditenterprisequeryweb/queryReason/changeApprovalLevel')  # 修改审批级别

    #个人异常查询阻断
    per_rule_detail_url = urljoin(host, '/creditpersonqueryweb/exceptionRule/findById')  # 详情
    per_rule_getpage_url = urljoin(host, '/creditpersonqueryweb/exceptionRule/getPage')  # 检索
    per_rule_update_url = urljoin(host, '/creditpersonqueryweb/exceptionRule/update')  # 编辑
    per_rule_start_stop_url = urljoin(host, '/creditpersonqueryweb/exceptionRule/stopFlag')  # 启停用

    #企业异常查询阻断
    ent_rule_detail_url = urljoin(host, '/creditenterprisequeryweb/exceptionRule/findById')  # 详情
    ent_rule_getpage_url = urljoin(host, '/creditenterprisequeryweb/exceptionRule/getPage')  # 检索
    ent_rule_update_url = urljoin(host, '/creditenterprisequeryweb/exceptionRule/update')  # 编辑
    ent_rule_start_stop_url = urljoin(host, '/creditenterprisequeryweb/exceptionRule/stopFlag')  # 启停用

    #个人工作日管理
    per_workday_url = urljoin(host, '/creditpersonqueryweb/dateinfo/getDate')  # 获取本月修改后的日期
    per_saveday_url = urljoin(host, '/creditpersonqueryweb/dateinfo/saveDate')  # 修改工作日状态

    #企业工作日管理
    ent_workday_url = urljoin(host, '/creditenterprisequeryweb/dateinfo/getDate')  # 获取本月修改后的日期
    ent_saveday_url = urljoin(host, '/creditenterprisequeryweb/dateinfo/saveDate')  # 修改工作日状态

    # 个人业务字典
    per_dic_add_url = urljoin(host, '/creditpersonqueryweb/bizDic/create')  # 新建
    per_dic_get_page_url = urljoin(host, '/creditpersonqueryweb/bizDic/getPage')  # 检索
    per_dic_detail_url = urljoin(host, '/creditpersonqueryweb/bizDic/findById')  # 详情
    per_dic_update_url = urljoin(host, '/creditpersonqueryweb/bizDic/update')  # 编辑
    per_dic_del_url = urljoin(host, '/creditpersonqueryweb/bizDic/deleteById')  # 删除

    # 企业业务字典
    ent_dic_add_url = urljoin(host, '/creditenterprisequeryweb/bizDic/create')  # 新建
    ent_dic_get_page_url = urljoin(host, '/creditenterprisequeryweb/bizDic/getPage')  # 检索
    ent_dic_detail_url = urljoin(host, '/creditenterprisequeryweb/bizDic/findById')  # 详情
    ent_dic_update_url = urljoin(host, '/creditenterprisequeryweb/bizDic/update')  # 编辑
    ent_dic_del_url = urljoin(host, '/creditenterprisequeryweb/bizDic/deleteById')  # 删除

    # 个人页面同步查询主流程
    per_info_url = urljoin(host, '/creditpersonqueryweb/inquire/dispatcher?step=authorize')  # 个人信息录入的url
    per_checkInfo_url = urljoin(host, '/creditpersonqueryweb/inquire/dispatcher?step=checkInfo')  # 授权的url
    archive_create_url = urljoin(host, '/creditpersonqueryweb/archive/create')  # 授权档案添加的url
    savepaper_url = urljoin(host, '/creditpersonqueryweb/archive/savePaper')  # 添加纸质档案的url
    inquire_url = urljoin(host, '/creditpersonqueryweb/inquire/dispatcher?step=inquire')  # 判断本地是够有报告的url
    per_showReport_url = urljoin(host, '/creditpersonqueryweb/inquire/showReport')  # 真正审批和查询报告的url
    per_reveal_report_url = urljoin(host, '/creditpersonqueryweb/inquire/showCredit')  # 展示报告的url
    per_local_report_url = urljoin(host, '/creditpersonqueryweb/inquire/showLocalReport')  # 查询本地报告的url
    per_prevalidate_url = urljoin(host, '/creditpersonqueryweb/inquire/preValidate')  # 预校验

    per_savereport_url = urljoin(host, '/creditpersonqueryweb/inquire/saveReport')  # 保存报告
    per_queryreportstatus_url = urljoin(host, '/creditpersonqueryweb/inquire/queryReportStatus')  # 保存后校验？
    per_saverrintLog_url = urljoin(host, '/creditpersonqueryweb/inquire/savePrintLog')  # 保存的业务日志
    per_printreport_url = urljoin(host, '/creditpersonqueryweb/inquire/printReport')  # 打印报告
    per_savepdfandresurl_url = urljoin(host, '/creditpersonqueryweb/inquire/savePdfAndResUrl')  # pdf报告的url


    #企业页面同步查询主流程
    ent_info_url = urljoin(host,'/creditenterprisequeryweb/inquire/dispatcher?step=authorize') #企业信息录入的url
    ent_archive_create_url = urljoin(host, '/creditenterprisequeryweb/archive/create')  # 授权档案添加的url
    ent_savepaper_url = urljoin(host, '/creditenterprisequeryweb/archive/savePaper')  # 添加纸质档案的url
    ent_checkInfo_url = urljoin(host, '/creditenterprisequeryweb/inquire/dispatcher?step=checkInfo')  # 授权的url
    ent_inquire_url = urljoin(host, '/creditenterprisequeryweb/inquire/dispatcher?step=inquire')  # 判断本地是够有报告的url
    ent_show_report_url = urljoin(host, '/creditenterprisequeryweb/inquire/showReport')  # 真正审批和查询报告的url
    ent_reveal_report_url = urljoin(host, '/creditenterprisequeryweb/inquire/showCredit')  # 展示报告的url
    ent_local_report_url = urljoin(host, '/creditenterprisequeryweb/inquire/showLocalReport')  # 查询本地报告的url
    ent_prevalidate_url = urljoin(host, '/creditenterprisequeryweb/inquire/preValidate')  # 预校验

    ent_savereport_url = urljoin(host, '/creditenterprisequeryweb/inquire/saveReport')  # 保存报告
    ent_queryreportstatus_url = urljoin(host, '/creditenterprisequeryweb/inquire/queryReportStatus')  # 保存后校验？
    ent_saverrintLog_url = urljoin(host, '/creditenterprisequeryweb/inquire/savePrintLog')  # 保存的业务日志
    ent_printreport_url = urljoin(host, '/creditenterprisequeryweb/inquire/printReport')  # 打印报告
    ent_savepdfandresurl_url = urljoin(host, '/creditenterprisequeryweb/inquire/savePdfAndResUrl')  # pdf报告的url



    #个人异步审批
    per_receive_task_getpage_url = urljoin(host,'/creditpersonqueryweb/checkinfo/getPage')#领取任务页面检索
    per_receive_task_url = urljoin(host,'/creditpersonqueryweb/checkinfo/receiveTask')#领取任务
    per_asyn_getpage_url = urljoin(host,'/creditpersonqueryweb/checkinfotask/getPage')#审批页检索
    per_select_archive_url = urljoin(host,'/creditpersonqueryweb/checkinfotask/selectArchive')#强制查看档案
    per_check_pass_url = urljoin(host,'/creditpersonqueryweb/checkinfotask/checkPass')#审批通过
    per_back_task_url = urljoin(host,'/creditpersonqueryweb/checkinfotask/backTask')#审批退回
    per_check_refusal_url = urljoin(host,'/creditpersonqueryweb/checkinfotask/checkRefusal')#审批拒绝

    # 企业异步审批
    ent_receive_task_getpage_url = urljoin(host, '/creditenterprisequeryweb/checkinfo/getPage')  # 领取任务页面检索
    ent_receive_task_url = urljoin(host, '/creditenterprisequeryweb/checkinfo/receiveTask')  # 领取任务
    ent_asyn_getpage_url = urljoin(host, '/creditenterprisequeryweb/checkinfotask/getPage')  # 审批页检索
    ent_select_archive_url = urljoin(host, '/creditenterprisequeryweb/checkinfotask/selectArchive')  # 强制查看档案
    ent_check_pass_url = urljoin(host, '/creditenterprisequeryweb/checkinfotask/checkPass')  # 审批通过
    ent_back_task_url = urljoin(host, '/creditenterprisequeryweb/checkinfotask/backTask')  # 审批退回
    ent_check_refusal_url = urljoin(host, '/creditenterprisequeryweb/checkinfotask/checkRefusal')  # 审批拒绝

    #业务日志
    per_business_diary_url = urljoin(host,'/creditpersonqueryweb/operatelog/getPage')#个人业务日志url
    ent_business_diary_url = urljoin(host,'/creditenterprisequeryweb/operatelog/getPage')#企业业务日志url

    #个人授权信息管理
    per_archive_getpage_url = urljoin(host,'/creditpersonqueryweb/archive/getPage')#授权信息维护页面的检索
    per_upload_url = urljoin(host,'/creditpersonqueryweb/archive/upload')#上传图片的url
    per_archive_url = urljoin(host,'/creditpersonqueryweb/archive/findByArchiveId')#详情中查看授权文件
    per_findbyid_url = urljoin(host,'/creditpersonqueryweb/archive/findById')#授权信息详情
    per_archive_update_url = urljoin(host,'/creditpersonqueryweb/archive/update')#授权信息编辑
    per_archive_del_url = urljoin(host,'/creditpersonqueryweb/archive/delete')#授权信息删除

    # 企业授权信息管理
    ent_archive_getpage_url = urljoin(host, '/creditenterprisequeryweb/archive/getPage')  # 授权信息维护页面的检索
    ent_upload_url = urljoin(host, '/creditenterprisequeryweb/archive/uploadfile')  # 上传图片的url
    ent_archive_url = urljoin(host, '/creditenterprisequeryweb/archive/findByArchiveId')  # 详情中查看授权文件
    ent_findbyid_url = urljoin(host, '/creditenterprisequeryweb/archive/findById')  # 授权信息详情
    ent_archive_update_url = urljoin(host, '/creditenterprisequeryweb/archive/update')  # 授权信息编辑
    ent_archive_del_url = urljoin(host, '/creditenterprisequeryweb/archive/delete')  # 授权信息删除

    #个人统计
    per_statisticsbyuser_url = urljoin(host, '/creditpersonqueryweb/queryByUser/findByQueryUserSum')  # 按用户统计
    per_statisticsbyorg_url = urljoin(host, '/creditpersonqueryweb/query/findByAmountTo')  # 按机构统计
    per_statisticsbyrule_url = urljoin(host, '/creditpersonqueryweb/relevant/findByRelieve')  # 按违规分析统计

    per_statisticsbyuser_download_url = urljoin(host, '/creditpersonqueryweb/queryByUser/export')  # 按用户统计导出
    per_statisticsbyorg_download_url = urljoin(host, '/creditpersonqueryweb/query/export')  # 按机构统计导出

    #企业统计
    ent_statisticsbyuser_url = urljoin(host, '/creditenterprisequeryweb/queryByUser/findByQueryUserSum')  # 按用户统计
    ent_statisticsbyorg_url = urljoin(host, '/creditenterprisequeryweb/query/findByAmountTo')  # 按机构统计
    ent_statisticsbyrule_url = urljoin(host, '/creditenterprisequeryweb/relevant/findByRelieve')  # 按违规分析统计

    ent_statisticsbyuser_download_url = urljoin(host, '/creditenterprisequeryweb/queryByUser/export')  # 按用户统计导出
    ent_statisticsbyorg_download_url = urljoin(host, '/creditenterprisequeryweb/query/export')  # 按机构统计导出

    #个人批量查询
    per_batch_query_download_url = urljoin(host, '/creditpersonqueryweb/querybatch/downloadRight')  # 模板下载
    per_batch_query_upload_url = urljoin(host, '/creditpersonqueryweb/querybatch/uploadFile')  # 文件上传
    per_batch_query_getpage_url = urljoin(host, '/creditpersonqueryweb/querybatch/getPage')  # 检索
    per_batch_query_error_url = urljoin(host, '/creditpersonqueryweb/querybatch/downloadError')  # 下载错误文件
    per_batch_query_jump_url = urljoin(host, '/creditpersonqueryweb/querybatch/jumpJudge')  # 跳转查询记录

    # 企业批量查询
    ent_batch_query_download_url = urljoin(host, '/creditenterprisequeryweb/querybatch/downloadRight')  # 模板下载
    ent_batch_query_upload_url = urljoin(host, '/creditenterprisequeryweb/querybatch/uploadFile')  # 文件上传
    ent_batch_query_getpage_url = urljoin(host, '/creditenterprisequeryweb/querybatch/getPage')  # 检索
    ent_batch_query_error_url = urljoin(host, '/creditenterprisequeryweb/querybatch/downloadError')  # 下载错误文件
    ent_batch_query_jump_url = urljoin(host, '/creditenterprisequeryweb/querybatch/jumpJudge')  # 跳转查询记录

    #个人特殊通道
    per_special_access_check_user_url = urljoin(host, '/creditpersonqueryweb/greenChannel/checkUser')  # 检查用户
    per_special_access_create_url = urljoin(host, '/creditpersonqueryweb/greenChannel/create')  # 新建特殊通道
    per_special_access_getpage_url = urljoin(host, '/creditpersonqueryweb/greenChannel/getPage')  # 检索
    per_special_access_stop_url = urljoin(host, '/creditpersonqueryweb/greenChannel/stopGreen')  # 关闭

    # 企业特殊通道
    ent_special_access_check_user_url = urljoin(host, '/creditenterprisequeryweb/greenChannel/checkUser')  # 检查用户
    ent_special_access_create_url = urljoin(host, '/creditenterprisequeryweb/greenChannel/create')  # 新建特殊通道
    ent_special_access_getpage_url = urljoin(host, '/creditenterprisequeryweb/greenChannel/getPage')  # 检索
    ent_special_access_stop_url = urljoin(host, '/creditenterprisequeryweb/greenChannel/stopGreen')  # 关闭

    #个人监控界面
    per_get_config_url = urljoin(host, '/creditpersonqueryweb/monitorinter/getQueryConfigParam')  # 获取5秒内实时查询量的配置
    per_get_org_url = urljoin(host, '/creditpersonqueryweb/common/getDeptCodeName')  # 获取机构名称
    per_get_dic_url = urljoin(host, '/creditpersonqueryweb/common/cpqDic')  # 获取报告查询状态的字典值
    per_get_top_url = urljoin(host, '/creditpersonqueryweb/monitorinter/istopcode')  # 获取top org？
    per_get_onedayquery_url = urljoin(host, '/creditpersonqueryweb/monitorinter/oneDayQueryVoluLine')  # 日查询量
    per_get_oneweekquery_url = urljoin(host, '/creditpersonqueryweb/monitorinter/oneWeekQueryVoluLine')  # 周查询量
    per_get_realtime_url = urljoin(host, '/creditpersonqueryweb/monitorinter/realTimeQueryGauge')  # ？
    per_get_instituquery_url = urljoin(host, '/creditpersonqueryweb/monitorinter/instituQueryVoluLine')  # ？
    per_get_creditquery_url = urljoin(host, '/creditpersonqueryweb/monitorinter/creditInforQueryVoluLine')  # 征信用户查询量
    per_get_internaluserquery_url = urljoin(host, '/creditpersonqueryweb/monitorinter/internalUserQueryVoluLine')  # 内部用户查询量
    per_get_allline_url = urljoin(host, '/creditpersonqueryweb/monitorinter/allLineOfDayPie')  # ?
    per_get_querystate_url = urljoin(host, '/creditpersonqueryweb/monitorinter/queryStatePie')  # ?
    per_get_credituserexcep_url = urljoin(host, '/creditpersonqueryweb/monitorinter/creditUserExcep')  # 征信用户查询异常
    per_get_internaluserexcep_url = urljoin(host, '/creditpersonqueryweb/monitorinter/internalUserExcep')  # 内部用户查询异常

    #企业监控界面
    ent_get_config_url = urljoin(host, '/creditenterprisequeryweb/monitorinter/getQueryConfigParam')  # 获取5秒内实时查询量的配置
    ent_get_org_url = urljoin(host, '/creditenterprisequeryweb/common/getDeptCodeName')  # 获取机构名称
    ent_get_dic_url = urljoin(host, '/creditenterprisequeryweb/common/ceqDic')  # 获取报告查询状态的字典值
    ent_get_top_url = urljoin(host, '/creditenterprisequeryweb/monitorinter/istopcode')  # 获取top org？
    ent_get_onedayquery_url = urljoin(host, '/creditenterprisequeryweb/monitorinter/oneDayQueryVoluLine')  # 日查询量
    ent_get_oneweekquery_url = urljoin(host, '/creditenterprisequeryweb/monitorinter/oneWeekQueryVoluLine')  # 周查询量
    ent_get_realtime_url = urljoin(host, '/creditenterprisequeryweb/monitorinter/realTimeQueryGauge')  # ？
    ent_get_instituquery_url = urljoin(host, '/creditenterprisequeryweb/monitorinter/instituQueryVoluLine')  # ？
    ent_get_creditquery_url = urljoin(host, '/creditenterprisequeryweb/monitorinter/creditInforQueryVoluLine')  # 征信用户查询量
    ent_get_internaluserquery_url = urljoin(host, '/creditenterprisequeryweb/monitorinter/internalUserQueryVoluLine')  # 内部用户查询量
    ent_get_allline_url = urljoin(host, '/creditenterprisequeryweb/monitorinter/allLineOfDayPie')  # ?
    ent_get_querystate_url = urljoin(host, '/creditenterprisequeryweb/monitorinter/queryStatePie')  # ?
    ent_get_credituserexcep_url = urljoin(host, '/creditenterprisequeryweb/monitorinter/creditUserExcep')  # 征信用户查询异常
    ent_get_internaluserexcep_url = urljoin(host, '/creditenterprisequeryweb/monitorinter/internalUserExcep')  # 内部用户查询异常

    #首页
    get_systemversion_url = urljoin(host,'/creditplatformweb/common/getSystemVersion')  # 系统版本
    get_menu_url = urljoin(host,'/creditplatformweb/menu')  # 获取系统菜单
    get_home_url = urljoin(host,'/creditplatformweb/home')  # 获取系统home
    get_notice_url = urljoin(host,'/creditplatformweb/systemMessage/homeMsg')  # 首页通知

    get_shortcut_menu_url = urljoin(host,'/creditplatformweb/sysShortcut/getShortcutMenu')  # 首页快捷功能入口
    edit_shortcut_url = urljoin(host,'/creditplatformweb/sysMenu/editShortcut')  # 首页快捷功能编辑
    get_user_link_menu_url = urljoin(host,'/creditplatformweb/sysShortcut/getUserLinkMenu')  # 首页快捷功能编辑时能选择的快捷菜单
    save_shortcut_url = urljoin(host,'/creditplatformweb/sysShortcut/saveShortcut')  # 首页快捷功能保存

    get_nick_by_username_url = urljoin(host,'/creditplatformweb/common/getNickByUserName')  # 获取所有用户昵称
    get_menu_root_url = urljoin(host,'/creditplatformweb/getMenuRoot')  # 获取所有子系统名称
    get_platprojectname_url = urljoin(host,'/creditplatformweb/common/getPlatProjectName')  # 平台名称
    get_current_user_url = urljoin(host,'/creditplatformweb/systemUser/currentUser')  # 获取当前用户信息

    per_user_query_url = urljoin(host, '/creditpersonqueryweb/userquerynum/weekData')  # 首页个人用户查询情况
    ent_user_query_url = urljoin(host, '/creditenterprisequeryweb/userquerynum/weekData')  # 首页企业用户查询情况
    per_getusershortcut_url = urljoin(host, '/creditpersonqueryweb//getUserShortcut')  # 首页个人提示卡
    ent_getusershortcut_url = urljoin(host, '/creditenterprisequeryweb//getUserShortcut')  # 首页企业提示卡

    #个人common接口
    per_common_cpqdic_url = urljoin(host, '/creditpersonqueryweb/common/cpqDic')  # 获取字典值
    per_common_getdeptcodename_url = urljoin(host, '/creditpersonqueryweb/common/getDeptCodeName')  # 获取机构id和name
    per_common_orgtree_url = urljoin(host, '/creditpersonqueryweb/common/orgTree')  # 获取机构树
    per_common_system_name_url = urljoin(host, '/creditpersonqueryweb/common/cqSysIp')  # 获取当前系统名称

    #企业common接口
    ent_common_ceqdic_url = urljoin(host, '/creditenterprisequeryweb/common/ceqDic')  # 获取字典值
    ent_common_getdeptcodename_url = urljoin(host, '/creditenterprisequeryweb/common/getDeptCodeName')  # 机构
    ent_common_orgtree_url = urljoin(host, '/creditenterprisequeryweb/common/orgTree')  # 获取机构树
    ent_common_system_name_url = urljoin(host, '/creditenterprisequeryweb/common/cqSysIp')  # 获取当前系统名称


    #个人审批结果页面
    per_reqresult_getpage_url = urljoin(host, '/creditpersonqueryweb/reqresult/getPage')  # 检索
    per_resubmit_getpage_url = urljoin(host, '/creditpersonqueryweb/reqresult/applyTask')  # 重新提交审批申请
    per_reqresult_detail_url = urljoin(host, '/creditpersonqueryweb/reqresult/detail')  # 详情框架
    per_reqresult_findbyid_url = urljoin(host, '/creditpersonqueryweb/reqresult/findById')  # 查看详情-基本信息
    per_archive_findbyid_url = urljoin(host, '/creditpersonqueryweb/archive/findById')  # 查看详情-授权信息
    per_findbyarchiveid_url = urljoin(host, '/creditpersonqueryweb/archive/findByArchiveId')  # 查看详情-授权档案信息

    per_reqresult_applyreport_url = urljoin(host, '/creditpersonqueryweb/reqresult/applyReport')  # 检查本地是否已有报告
    per_reqresult_showcreditreport_url = urljoin(host, '/creditpersonqueryweb/inquire/showCreditReport')  # 异步查询报告，查人行
    per_revealreport_url = urljoin(host, '/creditpersonqueryweb/inquire/revealReport')  # 展示报告框架
    per_show_localcreditreport_url = urljoin(host, '/creditpersonqueryweb/inquire/showLocalCreditReport')  # 展示本地报告

    # 企业审批结果页面
    ent_reqresult_getpage_url = urljoin(host, '/creditenterprisequeryweb/reqresult/getPage')  # 检索
    ent_resubmit_getpage_url = urljoin(host, '/creditenterprisequeryweb/reqresult/applyTask')  # 重新提交审批申请
    ent_reqresult_detail_url = urljoin(host, '/creditenterprisequeryweb/reqresult/detail')  # 详情框架
    ent_reqresult_findbyid_url = urljoin(host, '/creditenterprisequeryweb/reqresult/findById')  # 查看详情-基本信息
    ent_archive_findbyid_url = urljoin(host, '/creditenterprisequeryweb/archive/findById')  # 查看详情-授权信息
    ent_findbyarchiveid_url = urljoin(host, '/creditenterprisequeryweb/archive/findByArchiveId')  # 查看详情-授权档案信息

    ent_reqresult_applyreport_url = urljoin(host, '/creditenterprisequeryweb/reqresult/applyReport')  # 检查本地是否已有报告
    ent_reqresult_showcreditreport_url = urljoin(host, '/creditenterprisequeryweb/inquire/showCreditReport')  # 异步查询报告，查人行
    ent_revealreport_url = urljoin(host, '/creditenterprisequeryweb/inquire/revealReport')  # 展示报告框架
    ent_show_localcreditreport_url = urljoin(host, '/creditenterprisequeryweb/inquire/showLocalCreditReport')  # 展示本地报告

    #个人的本人查询记录
    per_own_report_getpage_url = urljoin(host, '/creditpersonqueryweb/queryreq/getPage')  # 检索
    per_own_report_detail_url = urljoin(host, '/creditpersonqueryweb/queryreq/detail')  # 详情-跳转
    per_own_report_findbyid_url = urljoin(host, '/creditpersonqueryweb/queryreq/findById')  # 详情
    per_own_report_exportload_url = urljoin(host, '/creditpersonqueryweb/queryreq/exportLoad')  # 导出
    per_own_report_getstatus_url = urljoin(host, '/creditpersonqueryweb/queryreq/getStatus')  # 验证状态-是否可查报告

    #企业的本人查询记录
    ent_own_report_getpage_url = urljoin(host, '/creditenterprisequeryweb/queryreq/getPage')  # 检索
    ent_own_report_detail_url = urljoin(host, '/creditenterprisequeryweb/queryreq/detail')  # 详情-跳转
    ent_own_report_findbyid_url = urljoin(host, '/creditenterprisequeryweb/queryreq/findById')  # 详情
    ent_own_report_exportload_url = urljoin(host, '/creditenterprisequeryweb/queryreq/exportLoad')  # 导出
    ent_own_report_getstatus_url = urljoin(host, '/creditenterprisequeryweb/queryreq/getStatus')  # 验证状态-是否可查报告

    #个人辖内查询记录
    per_resultinfo_list_url = urljoin(host, '/creditpersonqueryweb/resultInfo/list')  # 跳转
    per_resultinfo_getpage_url = urljoin(host, '/creditpersonqueryweb/resultInfo/getPage')  # 检索
    per_resultinfo_getexportflag_url = urljoin(host, '/creditpersonqueryweb/resultInfo/getExportFlag')  # 导出标志
    per_resultinfo_exportload_url = urljoin(host, '/creditpersonqueryweb/resultInfo/exportLoad')  # 导出
    per_resultinfo_detail_url = urljoin(host, '/creditpersonqueryweb/resultInfo/detail')  # 详情跳转
    per_resultinfo_findbyid_url = urljoin(host, '/creditpersonqueryweb/resultInfo/findById')  # 详情

    #企业辖内查询记录
    ent_resultinfo_list_url = urljoin(host, '/creditenterprisequeryweb/resultInfo/list')  # 跳转
    ent_resultinfo_getpage_url = urljoin(host, '/creditenterprisequeryweb/resultInfo/getPage')  # 检索
    ent_resultinfo_getexportflag_url = urljoin(host, '/creditenterprisequeryweb/resultInfo/getExportFlag')  # 导出标志
    ent_resultinfo_exportload_url = urljoin(host, '/creditenterprisequeryweb/resultInfo/exportLoad')  # 导出
    ent_resultinfo_detail_url = urljoin(host, '/creditenterprisequeryweb/resultInfo/detail')  # 详情跳转
    ent_resultinfo_findbyid_url = urljoin(host, '/creditenterprisequeryweb/resultInfo/findById')  # 详情

   #个人报告使用记录
    per_reportlog_list_url = urljoin(host, '/creditpersonqueryweb/reportlog/list')  # 跳转
    per_reportlog_getpage_url = urljoin(host, '/creditpersonqueryweb/reportlog/getPage')  # 检索
    per_reportlog_exportload_url = urljoin(host, '/creditpersonqueryweb/reportlog/exportExcel')  # 导出
    per_reportlog_detail_url = urljoin(host, '/creditpersonqueryweb/reportlog/detail')  # 详情跳转
    per_reportlog_findbyid_url = urljoin(host, '/creditpersonqueryweb/reportlog/findById')  # 详情

    #企业报告使用记录
    ent_reportlog_list_url = urljoin(host, '/creditenterprisequeryweb/reportlog/list')  # 跳转
    ent_reportlog_getpage_url = urljoin(host, '/creditenterprisequeryweb/reportlog/getPage')  # 检索
    ent_reportlog_exportload_url = urljoin(host, '/creditenterprisequeryweb/reportlog/exportExcel')  # 导出
    ent_reportlog_detail_url = urljoin(host, '/creditenterprisequeryweb/reportlog/detail')  # 详情跳转
    ent_reportlog_findbyid_url = urljoin(host, '/creditenterprisequeryweb/reportlog/findById')  # 详情

    #个人结构化入库
    per_reportstructuredlog_getpage_url = urljoin(host, '/creditpersonqueryweb/reportStructuredLog/getPage')  # 检索
    per_reportstructuredlog_resubmit_url = urljoin(host, '/creditpersonqueryweb/reportStructuredLog/restore')  # 再次入库

    #企业结构化入库
    ent_reportstructuredlog_getpage_url = urljoin(host, '/creditenterprisequeryweb/reportStructuredLog/getPage')  # 检索
    ent_reportstructuredlog_resubmit_url = urljoin(host, '/creditenterprisequeryweb/reportStructuredLog/restore')  # 再次入库

    #个人授权信息查看
    per_archivequery_getpage_url = urljoin(host, '/creditpersonqueryweb/archivequery/getPage')  # 检索
    per_archivequery_detail_url = urljoin(host, '/creditpersonqueryweb/archivequery/detail')  # 详情跳转
    per_archivequery_findbyid_url = urljoin(host, '/creditpersonqueryweb/archivequery/findById')  # 详情
    per_archivequery_getpicturefile_url = urljoin(host, '/creditpersonqueryweb/archive/getPictureFile')  # 查看图片
    per_archivequery_export_url = urljoin(host, '/creditpersonqueryweb/archivequery/export')  # 导出

    # 企业授权信息查看
    ent_archivequery_getpage_url = urljoin(host, '/creditenterprisequeryweb/archivequery/getPage')  # 检索
    ent_archivequery_detail_url = urljoin(host, '/creditenterprisequeryweb/archivequery/detail')  # 详情跳转
    ent_archivequery_findbyid_url = urljoin(host, '/creditenterprisequeryweb/archivequery/findById')  # 详情
    ent_archivequery_getpicturefile_url = urljoin(host, '/creditenterprisequeryweb/archive/getPictureFile')  # 查看图片
    ent_archivequery_export_url = urljoin(host, '/creditenterprisequeryweb/archivequery/export')  # 导出

    #个人授权信息补录
    per_archiverevise_getpage_url = urljoin(host, '/creditpersonqueryweb/archive/getList')  # 检索
    per_archiverevise_page_url = urljoin(host, '/creditpersonqueryweb/archive/archiverevisenow')  # 授权信息补录新增页面
    per_archiverevise_type_url = urljoin(host, '/creditpersonqueryweb/archive/getArchiveType')  # 授权信息类型
    per_archiverevise_uploadfile_url = urljoin(host, '/creditpersonqueryweb/archive/reviseuploadfile')  # 上传电子档案
    per_archiverevise_savepaper_url = urljoin(host, '/creditpersonqueryweb/archive/revisesavePaper')  # 补录授权信息保存
    per_archiverevise_list_url = urljoin(host, '/creditpersonqueryweb/archive/archiverevise')  # 补录授权信息补录列表

    # 企业授权信息补录
    ent_archiverevise_getpage_url = urljoin(host, '/creditenterprisequeryweb/archive/getList')  # 检索
    ent_archiverevise_page_url = urljoin(host, '/creditenterprisequeryweb/archive/archiverevisenow')  # 授权信息补录新增页面
    ent_archiverevise_type_url = urljoin(host, '/creditenterprisequeryweb/archive/getArchiveType')  # 授权信息类型
    ent_archiverevise_uploadfile_url = urljoin(host, '/creditenterprisequeryweb/archive/reviseuploadfile')  # 上传电子档案
    ent_archiverevise_savepaper_url = urljoin(host, '/creditenterprisequeryweb/archive/revisesavePaper')  # 补录授权信息保存
    ent_archiverevise_list_url = urljoin(host, '/creditenterprisequeryweb/archive/archiverevise')  # 补录授权信息补录列表

    # 个人审批记录
    per_checkinfolog_getpage_url = urljoin(host, '/creditpersonqueryweb/checkinfolog/getPage')  # 检索
    per_checkinfolog_detail_url = urljoin(host, '/creditpersonqueryweb/checkinfolog/detail')  # 详情跳转
    per_checkinfolog_findbyid_url = urljoin(host, '/creditpersonqueryweb/checkinfolog/findById')  # 详情
    per_checkinfolog_getpagerecord_url = urljoin(host, '/creditpersonqueryweb/checkinfotask/getPageRecord')  # 审批记录-步骤详情

    # 企业审批记录
    ent_checkinfolog_getpage_url = urljoin(host, '/creditenterprisequeryweb/checkinfolog/getPage')  # 检索
    ent_checkinfolog_detail_url = urljoin(host, '/creditenterprisequeryweb/checkinfolog/detail')  # 详情跳转
    ent_checkinfolog_findbyid_url = urljoin(host, '/creditenterprisequeryweb/checkinfolog/findById')  # 详情
    ent_checkinfolog_getpagerecord_url = urljoin(host, '/creditenterprisequeryweb/checkinfotask/getPageRecord')  # 审批记录-步骤详情

    #个人预警信息
    per_alert_getpage_url = urljoin(host, '/creditpersonqueryweb/alert/getPage')  # 检索
    per_alert_list_url = urljoin(host, '/creditpersonqueryweb/alert/list')  # 预警信息列表
    per_alert_detail_url = urljoin(host, '/creditpersonqueryweb/alert/detail')  # 详情跳转
    per_alert_findbyid_url = urljoin(host, '/creditpersonqueryweb/alert/findById')  # 详情
    per_alert_relievereason_url = urljoin(host, '/creditpersonqueryweb/alert/relieveReason')  # 核实原因页面
    per_alert_relieve_url = urljoin(host, '/creditpersonqueryweb/alert/relieve')  # 核实
    per_alert_addlock_url = urljoin(host, '/creditpersonqueryweb/alert/addLock')  # 用户锁定
    per_alert_getalertreason_url = urljoin(host, '/creditpersonqueryweb/alert/getAlertReason')  # ？
    per_alert_unlock_url = urljoin(host, '/creditpersonqueryweb/alert/unLock')  # 用户解锁
    per_alert_exportload_url = urljoin(host, '/creditpersonqueryweb/alert/exportLoad')  # 用户导出

    # 企业预警信息
    ent_alert_getpage_url = urljoin(host, '/creditenterprisequeryweb/alert/getPage')  # 检索
    ent_alert_list_url = urljoin(host, '/creditenterprisequeryweb/alert/list')  # 预警信息列表
    ent_alert_detail_url = urljoin(host, '/creditenterprisequeryweb/alert/detail')  # 详情跳转
    ent_alert_findbyid_url = urljoin(host, '/creditenterprisequeryweb/alert/findById')  # 详情
    ent_alert_relievereason_url = urljoin(host, '/creditenterprisequeryweb/alert/relieveReason')  # 核实原因页面
    ent_alert_relieve_url = urljoin(host, '/creditenterprisequeryweb/alert/relieve')  # 核实
    ent_alert_addlock_url = urljoin(host, '/creditenterprisequeryweb/alert/addLock')  # 用户锁定
    ent_alert_unlock_url = urljoin(host, '/creditenterprisequeryweb/alert/unLock')  # 用户解锁
    ent_alert_exportload_url = urljoin(host, '/creditenterprisequeryweb/alert/exportLoad')  # 用户导出






if __name__ == "__main__":
    pass
